﻿using SBlogCore.Entitys.SysOrgManager;
using SBlogCore.WebAdminApplication.SysOrgManager.Dto;

namespace SBlogCore.WebAdminApplication.SysOrgManager.IServices
{
    public interface ISysOrgInfoService
    {
        Task<List<SysOrgInfo>> GetSysOrgList();
        Task<SysOrgInfo> GetSysOrgInfoById(long id);
        Task AddSysOrgInfo(SysOrgInfoInPut inPut);
        Task UpdateSysOrgInfo(SysOrgInfoEditInPut inPut);
        Task<int> DeleteSysOrgInfo(List<long> ids);
        Task<bool> AnyCode(string code, long? id = null);
    }
}
